<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>关闭父页面</title>
</head>
<body>

<iframe src="demo-close-window.html" frameborder="1"></iframe>

</body>
</html>